package com.wosai.register.controller;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value=HttpStatus.NOT_FOUND)
public class ResourceNotFoundException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    
    private String resourceDescriptor;
	
    public ResourceNotFoundException(String resourceDescriptor) {
        super();
        this.resourceDescriptor = resourceDescriptor;
    }

    public String getResourceDescriptor() {
        return resourceDescriptor;
    }

	
}
